package com.ljxt.dt.vo;

import java.util.List;

/**
 * @author 唐春劲
 * @version 1.0.0
 * @date 2020-05-07 12:29
 * @copyright 老九学堂
 */

public class JsonResult<T> {
    /**
     * 状态码
     */
    private String code;
    /**
     * 消息
     */
    private String message;

    /**
     * 含有数据的对象
     */
    private T data;


    @Override
    public String toString() {
        return "JsonResult{" +
                "code='" + code + '\'' +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
